load("@io_bazel_rules_go//go:def.bzl", "go_library")

go_library(
    name = "spanstatscollector",
    srcs = ["span_stats_collector.go"],
    importpath = "github.com/cockroachdb/cockroach/pkg/keyvisualizer/spanstatscollector",
    visibility = ["//visibility:public"],
    deps = [
        "//pkg/keyvisualizer/keyvispb",
        "//pkg/keyvisualizer/keyvissettings",
        "//pkg/roachpb",
        "//pkg/settings/cluster",
        "//pkg/util/container/ring",
        "//pkg/util/interval",
        "//pkg/util/log",
        "//pkg/util/stop",
        "//pkg/util/syncutil",
        "//pkg/util/timeutil",
        "@com_github_cockroachdb_errors//:errors",
    ],
)
